package com.iflytek.iot.platform.tracing.config;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Data
@Configuration
public class LogBackConfig {

    @Value("${dripcommon.path}")
    private String commonConfig;

    @Value("${dripcommon.room}")
    private String room;

    @Value("${dripcommon.localip}")
    private String localip;

    @Value("${dripcommon.port}")
    private String port;

    @Value("${dripcommon.cpname}")
    private String cpname;

    @Value("${is_use_httpsender}")
    private Boolean useHttpSender;


    @Value("${flume_agent}")
    private String flumeAgent;

    @Value("${local_valog_path}")
    private String localVaLogPath;

    @Value("${sdk_log_name}")
    private String sdkLogName;

    @Value("${local_log_name}")
    private String localLogName;

    @Value("${is_open_start_check}")
    private Boolean startCheck;

    @Value("${flume_connect_timeout}")
    private int flumeConnectTimeOut;

    @Value("${flume_request_timeout}")
    private int flumeRequestTimeOut;

    @Value("${send_queue_size}")
    private int sendQueueSize;

    @Value("${msg_max_size}")
    private int msgMaxSize;

    @Value("${ping_interval_time}")
    private int pingIntervalTime;

    @Value("${use_safe_mode}")
    private Boolean isUseSafeMod;

    @Value("${ping_timeout}")
    private int pingTimeOut;

    @Value("${schedual_interval_time}")
    private int schedualIntervalTime;

    @Value("${first_sche_delay}")
    private int firstIntervalDelay;

    @Value("${schedual_time_out}")
    private int scheduleLocalLogTimeOut;

    @Value("${flume_batch_size}")
    private int batchSize;

    @Value("${connect_pool_size}")
    private int connectPoolSize;

    @Value("${no_transfer_fill_percentage}")
    private int noTranferFillPercentage;

    @Value("${binfile_write_batch_size}")
    private int binfileWiteBatchSize;


}
